package com.lesso.yjy.sunflower.domain.repository;

import com.baomidou.mybatisplus.plugins.Page;
import com.lesso.yjy.sunflower.model.EmployeeDevice;
import com.lesso.yjy.sunflower.pojo.dto.EmployeeDeviceDTO;
import com.lesso.yjy.sunflower.pojo.dto.EmployeeDeviceQueryDTO;
import com.lesso.yjy.sunflower.pojo.vo.EmployeeDeviceVO;

public interface EmployeeDeviceRepository {
    Long save(EmployeeDevice employeeDevice);

    Page<EmployeeDeviceVO> getPageList(EmployeeDeviceQueryDTO dto);

    Page<EmployeeDeviceVO> getCustomPageList(EmployeeDeviceQueryDTO dto);

    void deleteById(Long id);

    void updateById(EmployeeDeviceDTO dto);
}
